package com.k.demo.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import com.k.demo.entity.Restaurant;

@Mapper
public interface RestaurantMapper {
	
	@Select("select * from restaurant")
	Restaurant select();
	
	int update(Restaurant restaurant);
}
